﻿using System;
using System.Collections.Generic;
using System.Text;
using Evl.Data.ModelBase;


namespace Evl.Model
{
    public class Book : ElvModelBase
    {
        public Book()
        {
            TableName = @"TbBook";
            TableType = @"Table";
        }

        public override void SetPropertyName()
        {
            FiledsList = new String[] { "BookID", "BookName", "BookCode" };
        }


        public decimal BookID
        {
            get { return GetProperty<decimal>("BookID"); }
            set { SetProperty("BookID", value); }
        }

        public String BookName
        {
            get { return GetProperty<String>("BookName"); }
            set { SetProperty("BookName", value); }
        }


        public String BookCode
        {
            get { return GetProperty<String>("BookCode"); }
            set { SetProperty("BookCode", value); }
        }

    }
}
